﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonType
{
	/// <summary>
	/// 审计字段表
	/// </summary>
	public class BaceEntity
	{
		/// <summary>
		/// 创建名称
		/// </summary>
		[SugarColumn(ColumnDescription = "创建名称", Length = 200, IsNullable = true)]
		public string? CreateBy { get; set; } = "张三";

		/// <summary>
		/// 创建时间
		/// </summary>
		[SugarColumn(IsNullable = true)]
		public DateTime? CreateTime { get; set; } = DateTime.Now;

		/// <summary>
		/// 修改名称
		/// </summary>
		[SugarColumn(ColumnDescription = "修改名称", Length = 200, IsNullable = true)]
		public string? UpdateBy { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		[SugarColumn(IsNullable = true)]
		public DateTime? UpdateTime { get; set; }

		/// <summary>
		/// 布尔类型
		/// </summary>
		public bool IsDel { get; set; } = false;
	}
}
